{% comment %}
  @param {Boolean} center
{% endcomment %}

{% if include.center %}
<div class="list-inline text-center">
{% else %}
<div class="list-inline">
{% endif %}
  {% if site.sns.github_username %}
  <a target="_blank" href="https://github.com/{{ site.sns.github_username }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fab fa-github-alt fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.linkedin_username %}
  <a target="_blank" href="https://www.linkedin.com/in/{{ site.sns.linkedin_username }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fab fa-linkedin-in fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.facebook_username %}
  <a target="_blank" href="https://www.facebook.com/{{ site.sns.facebook_username }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fab fa-facebook-f fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.twitter_username %}
  <a target="_blank" href="https://twitter.com/{{ site.sns.twitter_username }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.zhihu_username %}
  <a target="_blank" href="https://www.zhihu.com/people/{{ site.sns.zhihu_username }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fas fa-stack-1x fa-inverse">知</i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.weibo_username %}
  <a target="_blank" href="http://weibo.com/{{ site.sns.weibo_username }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fab fa-weibo fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.email_address %}
  <a href="mailto:{{ site.sns.email_address }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}

  {% if site.sns.RSS %}
  <a target="_blank" href="{{ "/feed.xml" | prepend: site.baseurl }}">
    <span class="fa-stack fa-lg">
      <i class="fas fa-circle fa-stack-2x"></i>
      <i class="fas fa-rss fa-stack-1x fa-inverse"></i>
    </span>
  </a>
  {% endif %}
</div>
